﻿@model List<etracks.EntityModels.Project>
<table class="table table-hover table-striped">

    <thead>
        <tr>
            <th class="col-md-1">Id</th>
            <th class="col-md-3">Name</th>
            <th class="col-md-8"></th>
        </tr>
    </thead>

    <tbody>

        @foreach (etracks.EntityModels.Project project in Model)
        {
            <tr>
                <td>
                    @Html.ActionLink(" ", "Edit", "Project", new { id = project.Id }, new { @class = "glyphicon glyphicon-edit", style = "text-decoration:none;" })
                    @project.Id
                </td>
                <td>
                @Html.ActionLink(project.Name, "View", "Project", new { id = project.Id }, new { style="text-decoration:none" })
                </td>
                <td></td>
            </tr>
        }

    </tbody>

</table>